/**
 * @Author yinyunqi
 * @date 2018年1月19日
 * @Content 
 */
package com.yongqi.service.console;

import java.util.List;
import java.util.Map;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.yongqi.mapper.console.RemindMapper;
import com.yongqi.model.console.Remind;

@Service
public class RemindService {
    @Autowired
    RemindMapper remindMapper;
    
    public void addRemind(Remind remind) {
	remindMapper.addRemind(remind);
    }
    
    public List<Remind> queryRemind(Map<String, String> map) {
	return remindMapper.queryRemind(map);
    }
    
    public List<Remind> queryComingRemind(Map<String, String> map) {
	return remindMapper.queryComingRemind(map);
    }
}

